function ssqAjax($sheng, $shi, $qu) {
	$.ajax({
		type: "get",
		url: "citylist.json",
		success: function(data) {
			var shengdata = data.citylist;
			for(var i = 0; i < shengdata.length; i++) {
				$sheng[0].add(new Option(shengdata[i].p));
			}
		}
	});

	$sheng.change(function() {
		$.ajax({
			type: "get",
			url: "citylist.json",
			success: function(data) {
				$shi.html("");
				$qu.html("");
				var shengdata = data.citylist;
				var shengindex = $sheng[0].selectedIndex;
				if(shengindex > 0) {
					$shi[0].add(new Option("请选择"));
					$qu[0].add(new Option("请选择"));
					for(var i = 0; i < shengdata[shengindex - 1].c.length; i++) {
						$shi[0].add(new Option(shengdata[shengindex - 1].c[i].n));
					}
				} else {
					$shi[0].add(new Option("请选择"));
					$qu[0].add(new Option("请选择"));
				}
			}
		});

	})
	$shi.change(function() {
		$.ajax({
			type: "get",
			url: "citylist.json",
			success: function(data) {
				$qu.html("");
				var shengdata = data.citylist;
				var shiindex = $shi[0].selectedIndex;
				if(shiindex > 0) {
					var index1 = $sheng[0].selectedIndex;
					var index2 = $shi[0].selectedIndex;
					var qu1 = shengdata[index1 - 1].c[index2 - 1];
					var qu2 = shengdata[index1 - 1].c;
					if(qu1.a) {
						for(var m in qu1.a) {
							$qu[0].add(new Option(qu1.a[m].s));
						}
					} else {
						for(var l in qu2) {
							$qu[0].add(new Option(qu2[l].n));
						}
					}
				} else {
					$qu[0].add(new Option("请选择"));
				}
			}
		});

	})
}